<?php
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use App\Http\Controllers\mangercontroller\FileMangerController;
use App\Http\Controllers\mangercontroller\RepotsController;


Route::prefix('api')->middleware(['auth'])->group(function () {
    Route::get('/imageManger/imageMager', [FileMangerController::class, 'imageMager']);

    
    Route::delete('/imageManger/imageMager', [FileMangerController::class, 'deleteImageMager']);
    Route::get('/imageManger/ZhjyRepots', [RepotsController::class, 'ZhjyRepots']);
    Route::put('/imageManger/ZhjyRepots', [RepotsController::class, 'updateZhjyRepots']);
    Route::delete('/imageManger/ZhjyRepots', [RepotsController::class, 'deleteZhjyRepots']);
});
